﻿/*
Copyright 2011, KISSY UI Library v1.20
MIT Licensed
build time: Nov 28 12:38
*/
/*
常用的通用样式 Common Style
理念：少而精
维护：玉伯<lifesinger@gmail.com>
*/

/* 隐藏 */
.ks-hidden
{
    display: none;
}

.ks-invisible
{
    visibility: hidden;
}

/* 清除浮动 */
.ks-clear:after
{
    content: '\20';
    display: block;
    height: 0;
    clear: both;
}

.ks-clear
{
    *zoom: 1;
}

/* inline block */
.ks-inline-block
{
    display: inline-block;
    *display: inline;
}

div.middle
{
    overflow: hidden;
    position: relative;
    text-align: center;
}

    div.middle a
    {
        position: static;
        +position:absolute;
        top: 50%;
    }

    div.middle img
    {
        position: static;
        +position:relative;
        top: -50%;
        left: -50%;
        vertical-align: middle;
    }

    div.middle a:after
    {
        content: ".";
        font-size: 1px;
        visibility: hidden;
    }